//创建全局路由器
import VueRouter from "vue-router";

import a from '../components/a'
import b from '../components/b'



export default new VueRouter({
    routes:[
        {
            path:'/a',
            component:a
        },
        {
            path:'/b',
            component:b,
        },
    ]
})